home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / misc / btngo.zip / BTNGOC.ZIP / INI.HPP < prev    next >
C/C++ Source or Header  |  1993-09-28  |  450b  |  14 lines

  1. // must include windows.h before this file
  2. // class designed to use ini file with name same as .exe
  3. // and in same directory, just needs instance handle
  4. class IniFile{
  5.     char filename[256];
  6.     int file_set_up;
  7. public:
  8.     IniFile();
  9.     ~IniFile();
  10.     void set_instance(HINSTANCE instance);
  11.     int get_screen_numbers(char *grp_file,int& x,int& y,int& sb_ontop);
  12.     void write_screen_numbers(char *grp_file,HWND hwnd,int ontop);
  13. };
  14.